quartz: implement maximized/unmaximized
authorChristoph Reiter <reiter.christoph@gmail.com>
Mon, 20 Jul 2015 07:05:52 +0000 (09:05 +0200)
committerChristoph Reiter <creiter@src.gnome.org>
Thu, 23 Jul 2015 11:19:09 +0000 (13:19 +0200)
commiteb37fd22e7d50cfd5c6131aeaeb230469af5056c
tree4d2de37ff9a582ac7a99df4cfb1f98be8cb70e84
parent61ce90a8e25ea63248ffa12707148e449494f34b
quartz: implement maximized/unmaximized

Instead of using the default zoom behaviour use the internal
maximized state for selecting our own zoom target. This makes
zooming work for CSD windows where for some reason the
given default zoom target is the current window frame itself
resulting in a shadowless window of the same size.

While this makes the zoom button behave a bit different as expected
it makes things more consistent with other platforms and fixes CSD
zooming.
gdk/quartz/GdkQuartzNSWindow.c
gdk/quartz/GdkQuartzNSWindow.h
gdk/quartz/gdkwindow-quartz.c